package com.fnn.entity;


public class Record {
    private int record_id;    //'借阅记录id'
    private int book_id;       //'被借阅的书的id'
    private String record_book_name;       //'借阅的图书名称'
    private String record_book_isbn;       //'借阅的图书的ISBN'
    private int user_id;                 //'借阅人的id'
    private String record_borrower;           //'图书借阅人姓名'
    private String record_borrow_time;             //'图书借阅时间'
    private String record_remand_time;           //'图书归还时间'

    public int getRecord_id() {
        return record_id;
    }

    public void setRecord_id(int record_id) {
        this.record_id = record_id;
    }

    public int getBook_id() {
        return book_id;
    }

    public void setBook_id(int book_id) {
        this.book_id = book_id;
    }

    public String getRecord_book_name() {
        return record_book_name;
    }

    public void setRecord_book_name(String record_book_name) {
        this.record_book_name = record_book_name;
    }

    public String getRecord_book_isbn() {
        return record_book_isbn;
    }

    public void setRecord_book_isbn(String record_book_isbn) {
        this.record_book_isbn = record_book_isbn;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getRecord_borrower() {
        return record_borrower;
    }

    public void setRecord_borrower(String record_borrower) {
        this.record_borrower = record_borrower;
    }

    public String getRecord_borrow_time() {
        return record_borrow_time;
    }

    public void setRecord_borrow_time(String record_borrow_time) {
        this.record_borrow_time = record_borrow_time;
    }

    public String getRecord_remand_time() {
        return record_remand_time;
    }

    public void setRecord_remand_time(String record_remand_time) {
        this.record_remand_time = record_remand_time;
    }

    public Record(int record_id, int book_id, String record_book_name, String record_book_isbn, int user_id, String record_borrower, String record_borrow_time, String record_remand_time) {
        this.record_id = record_id;
        this.book_id = book_id;
        this.record_book_name = record_book_name;
        this.record_book_isbn = record_book_isbn;
        this.user_id = user_id;
        this.record_borrower = record_borrower;
        this.record_borrow_time = record_borrow_time;
        this.record_remand_time = record_remand_time;
    }

    @Override
    public String toString() {
        return "Record{" +
                "record_id=" + record_id +
                ", book_id=" + book_id +
                ", record_book_name='" + record_book_name + '\'' +
                ", record_book_isbn='" + record_book_isbn + '\'' +
                ", user_id=" + user_id +
                ", record_borrower='" + record_borrower + '\'' +
                ", record_borrow_time='" + record_borrow_time + '\'' +
                ", record_remand_time='" + record_remand_time + '\'' +
                '}';
    }
}
